package org.despair2D.ui.events 
{
	import flash.events.Event;
	

public class VisibleEvent extends Event 
{
	
	public function VisibleEvent(type:String, visible:Boolean, bubbles:Boolean=false, cancelable:Boolean=false) 
	{ 
		super(type, bubbles, cancelable);
		
	} 
	
	
	
	public static const VISIBLE_CHANGE:String = "visibleChange"
	
	
	public var visible:Boolean
	
	
	public override function clone():Event 
	{ 
		return new VisibleEvent(type, bubbles, cancelable);
	} 
	
	public override function toString():String 
	{ 
		return formatToString("VisibleEvent", "type", "bubbles", "cancelable", "eventPhase"); 
	}
	
}
	
}